# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy


class ScrapydemoItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    pass


# 明确爬取的目标结构
class JDCommentItem(scrapy.Item):
    id = scrapy.Field()
    nickname = scrapy.Field()
    score = scrapy.Field()
    content = scrapy.Field()
    productColor = scrapy.Field()
    creationTime = scrapy.Field()


# 豆瓣电影Item
class DouBanMovies(scrapy.Item):
    id = scrapy.Field()
    title = scrapy.Field()
    director = scrapy.Field()
    actor = scrapy.Field()
    year = scrapy.Field()
    country = scrapy.Field()
    category = scrapy.Field()
    rate = scrapy.Field()
    comments = scrapy.Field()
    quote = scrapy.Field()
